﻿<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title>ImoviesBlazor</title>
    <base href="/" />
    <link href="ImoviesBlazor.Client.styles.css" rel="stylesheet" />

    <!-- masa blazor css style -->
    <link href="_content/Masa.Blazor/css/masa-blazor.min.css" rel="stylesheet" />
    <!--icon file,import need to use-->
    <!--<link href="https://cdn.masastack.com/npm/@mdi/font@5.x/css/materialdesignicons.min.css" rel="stylesheet">
    <link href="https://cdn.masastack.com/npm/materialicons/materialicons.css" rel="stylesheet">
    <link href="https://cdn.masastack.com/npm/fontawesome/v5.0.13/css/all.css" rel="stylesheet">-->

    <link href="/css/materialdesign-icons.min.css" rel="stylesheet" />
    <link href="/css/material-icons.css" rel="stylesheet" />
    <link href="/css/fontawesome-all.css" rel="stylesheet" />

    <style type="text/css">
        html,
        body,
        #app {
            height: 100%;
            margin: 0;
            padding: 0;
        }

        body {
            background-color: rgb(245, 245, 245);
            background: url("/imgs/bg1.jpg") no-repeat center center fixed;
            background-size: 100%;
        }

        #app {
            background-repeat: no-repeat;
            background-size: 100% auto;
        }

        @media (min-width: 1264px) {
            .container {
                max-width: 95%;
            }
        }

        .m-data-table__wrapper {
            overflow-x: auto !important;
        }
    </style>
</head>

<body>
    <div id="app">

    </div>


    <script type="text/javascript">
        // 锚点跳转
        window.goAnchor = (anchorName) => {
            var id = "#" + anchorName;
            var el = window.document.querySelector(id);
            if (el) {
                el.scrollIntoView({
                    behavior: "smooth",
                });
            }
        }

        //// 清空iframe的src
        //window.clearPlayer = () => {
        //    var el = window.document.getElementById("vplayer");
        //    el.src = "";
        //}
    </script>

    <script src="_framework/blazor.webassembly.js" autostart="false"></script>
    <!--br压缩-->
    <script type="module">
        import { BrotliDecode } from './js/decode.min.js';
        Blazor.start({
            loadBootResource: function (type, name, defaultUri, integrity) {
                if (type !== 'dotnetjs' && location.hostname !== 'localhost') {
                    return (async function () {
                        const response = await fetch(defaultUri + '.br', { cache: 'no-cache' });
                        if (!response.ok) {
                            throw new Error(response.statusText);
                        }
                        const originalResponseBuffer = await response.arrayBuffer();
                        const originalResponseArray = new Int8Array(originalResponseBuffer);
                        const decompressedResponseArray = BrotliDecode(originalResponseArray);
                        const contentType = type ===
                            'dotnetwasm' ? 'application/wasm' : 'application/octet-stream';
                        return new Response(decompressedResponseArray,
                            { headers: { 'content-type': contentType } });
                    })();
                }
            }
        });
    </script>
    <!-- masa blazor -->
    <script src="_content/BlazorComponent/js/blazor-component.js"></script>
</body>

</html>